dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlErrorCollection Class / CopyTo Method / CopyTo(SqlError[],Int32) Method
The SqlErrorCollection to copy the elements into.
The index from which to start copying into the array parameter.

In This Topic
    CopyTo(SqlError[],Int32) Method
    In This Topic
    Copies the elements of the SqlErrorCollection into a SqlErrorCollection, starting at the specified index.
    Syntax
    'Declaration
     
    Public Overloads Sub CopyTo( _
       ByVal array() As SqlError, _
       ByVal index As Integer _
    ) 
    public void CopyTo( 
       SqlError[] array,
       int index
    )

    Parameters

    array
    The SqlErrorCollection to copy the elements into.
    index
    The index from which to start copying into the array parameter.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also